package com.punai.externalccb.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;

/**
 * externalccb对象 eco_resource
 *
 * @author zxw
 * @date 2023-04-10
 */
public class EcoResource extends BaseEntity {

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer resourceid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer costtypeid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String code;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String description;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String spec;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String unit;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal budgetrate;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal marketrate;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal quantity;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String originate;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String supplier;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String zcflag;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String isprovisional;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer bidnodeid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer dwbidnodeid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String proId;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String stagetype;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setResourceid(Integer resourceid) {
        this.resourceid = resourceid;
    }

    public Integer getResourceid() {
        return resourceid;
    }

    public void setCosttypeid(Integer costtypeid) {
        this.costtypeid = costtypeid;
    }

    public Integer getCosttypeid() {
        return costtypeid;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getSpec() {
        return spec;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public void setBudgetrate(BigDecimal budgetrate) {
        this.budgetrate = budgetrate;
    }

    public BigDecimal getBudgetrate() {
        return budgetrate;
    }

    public void setMarketrate(BigDecimal marketrate) {
        this.marketrate = marketrate;
    }

    public BigDecimal getMarketrate() {
        return marketrate;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setOriginate(String originate) {
        this.originate = originate;
    }

    public String getOriginate() {
        return originate;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setZcflag(String zcflag) {
        this.zcflag = zcflag;
    }

    public String getZcflag() {
        return zcflag;
    }

    public void setIsprovisional(String isprovisional) {
        this.isprovisional = isprovisional;
    }

    public String getIsprovisional() {
        return isprovisional;
    }

    public void setBidnodeid(Integer bidnodeid) {
        this.bidnodeid = bidnodeid;
    }

    public Integer getBidnodeid() {
        return bidnodeid;
    }

    public void setDwbidnodeid(Integer dwbidnodeid) {
        this.dwbidnodeid = dwbidnodeid;
    }

    public Integer getDwbidnodeid() {
        return dwbidnodeid;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getProId() {
        return proId;
    }

    public void setStagetype(String stagetype) {
        this.stagetype = stagetype;
    }

    public String getStagetype() {
        return stagetype;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("resourceid", getResourceid())
                .append("costtypeid", getCosttypeid())
                .append("code", getCode())
                .append("description", getDescription())
                .append("spec", getSpec())
                .append("unit", getUnit())
                .append("budgetrate", getBudgetrate())
                .append("marketrate", getMarketrate())
                .append("quantity", getQuantity())
                .append("originate", getOriginate())
                .append("supplier", getSupplier())
                .append("zcflag", getZcflag())
                .append("isprovisional", getIsprovisional())
                .append("bidnodeid", getBidnodeid())
                .append("dwbidnodeid", getDwbidnodeid())
                .append("proId", getProId())
                .append("stagetype", getStagetype())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
